package com.dily.study.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Date: 2022-06-13 星期一
 * Time: 16:36
 * Author: Dily_Su
 * Remark:
 * 权限表(Permission)实体类
 */

@TableName(value = "sys_permission")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Permission implements Serializable {
    private static final long serialVersionUID = -54979041104113736L;

    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 权限名
     */
    private String name;
    /**
     * 权限标识
     */
    private String perms;
    private Long createBy;
    private Date createTime;
    private Long updateBy;
    private Date updateTime;
    /**
     * 备注
     */
    private String remark;
}
